/* 版心 */
.main {
    width: 1210px;
    margin: 0px auto;
}

/* 版心 */
@import "loginArea.scss";
@import "footer.scss";

body {
    overflow-x: hidden;
}

// 导航
.nav {
    background-color: #fff;

    .main {
        font-size: 16px;

        .nav-x {
            background: #e4393c;
            height: 40px;
            line-height: 40px;

            .navMain {
                height: 40px;
                line-height: 40px;
                float: left;
                background: #c91518;
                color: #fff;
                display: block;
                font-size: 14px;
                font-weight: bold;
                text-align: left;
                text-indent: 22px;
                width: 210px;

                span {
                    color: #FBEDED;
                    padding: 0px 15px;
                }
            }

            >span {
                padding: 0px 20px;
                cursor: pointer;
                color: #fff;
                font-size: 14px;
                font-weight: bold;
                display: inline-block;
                height: 40px;
                line-height: 40px;
                vertical-align: top;

                &:hover {
                    background-color: #A40000;
                }
            }
        }

        .nav-t {
            background: #f7f7f7;
            height: 30px;
            overflow: hidden;

            ul {
                background: #f7f7f7;
                border-bottom: 1px solid #e8e8e8;
                height: 29px;

                li {
                    float: left;
                    padding-top: 6px;

                    a {
                        border-left: 1px solid #ebebeb;
                        font-size: 14px;
                        height: 16px;
                        line-height: 16px;
                        padding: 0 18px;
                        color: #666;
                        text-align: center;

                        &:hover {
                            color: #E20000;
                            text-decoration-line: underline;
                        }
                    }
                }
            }
        }
    }
}

// 导航

//类别
.include {
    padding: 8px 0;

    span {
        color: #666;
        line-height: 14px;
        overflow: visible;
        padding: 0 6px;
        text-align: center;

        &:nth-of-type(1) {
            font-size: 18px;
            font-weight: bold;
            line-height: 20px;
        }
    }
}

// 类别

// 主要内容
.detail {

    // 左边
    .detail-left {
        width: 210px;
        min-height: 500px;
        float: left;
        overflow: hidden;

        .hotact {

            margin-bottom: 10px;

            .hottitle {
                height: 28px;
                line-height: 28px;
                background: #f7f7f7;
                border: 1px solid #e8e8e8;
                font-size: 14px;
                font-weight: bold;
                color: #000;
                text-align: center;
            }

            .hotcont {
                border: 1px solid #e8e8e8;
                border-top: 0 none;
                padding-bottom: 5px;
                overflow: hidden;
                text-align: center;

                ul {
                    padding: 10px 0;
                    margin: 0 8px 4px;
                    text-align: left;
                    border-bottom: 1px dotted #e7e7e7;

                    li {
                        height: 24px;
                        line-height: 24px;
                        overflow: hidden;
                        font-size: 13px;

                        a {
                            color: #cb151a;

                            &:hover {
                                text-decoration: underline;
                            }
                        }
                    }
                }

                img {
                    width: 200px;
                    margin: 0 4px 4px;
                    cursor: pointer;
                }
            }
        }

        .another {
            margin-bottom: 10px;

            .another-title {
                height: 28px;
                line-height: 28px;
                background: #f7f7f7;
                border: 1px solid #e8e8e8;
                font-size: 14px;
                font-weight: bold;
                color: #000;
                text-align: center;
            }

            .another-cont {
                border: 1px solid #e8e8e8;
                border-top: 0 none;
                padding-bottom: 5px;
                overflow: hidden;
                text-align: left;

                .ano-book {
                    border-bottom: 1px dotted #e7e7e7;
                    padding: 0px 9px;
                    padding-bottom: 10px;

                    div {
                        float: left;
                        padding: 10px 6px 0 0;
                        width: 55px;
                        height: 55px;

                        img {
                            width: 55px;
                            height: 55px;
                        }
                    }

                    p {
                        height: 40px;
                        line-height: 20px;
                        margin: 6px 0;
                        overflow: hidden;

                        a {
                            color: #666;
                            text-align: center;

                            &:hover {
                                color: #cb151a;
                                text-decoration: underline;
                            }
                        }
                    }

                    span {
                        color: #666;
                        height: 14px;
                        line-height: 14px;
                    }

                    b {
                        font-size: 13px;
                        font-weight: bold;
                        color: #e20000;
                    }
                }

                .ano-more {
                    p {
                        text-align: right;
                        height: 30px;
                        line-height: 30px;
                        margin-right: 10px;

                        a {
                            color: #1a66b3;

                            &:hover {
                                text-decoration: underline;
                            }
                        }
                    }
                }
            }


        }

        .det-history {
            margin-bottom: 10px;

            .det-history-title {
                height: 28px;
                line-height: 28px;
                background: #f7f7f7;
                border: 1px solid #e8e8e8;
                font-size: 14px;
                font-weight: bold;
                color: #000;
                text-align: center;
            }

            .det-history-cont {
                border: 1px solid #e8e8e8;
                border-top: 0 none;
                padding-bottom: 5px;
                overflow: hidden;
                text-align: left;

                .det-book {
                    border-bottom: 1px dotted #e7e7e7;
                    padding-bottom: 10px;

                    div {
                        float: left;
                        padding: 10px 6px 0 0;
                        width: 55px;
                        height: 55px;

                        img {
                            width: 55px;
                            height: 55px;
                        }
                    }

                    p {
                        height: 40px;
                        line-height: 20px;
                        margin: 6px 0;
                        overflow: hidden;

                        a {
                            color: #666;
                            text-align: center;

                            &:hover {
                                color: #cb151a;
                                text-decoration: underline;
                            }
                        }
                    }

                    span {
                        color: #666;
                        height: 14px;
                        line-height: 14px;
                    }

                    b {
                        font-size: 13px;
                        font-weight: bold;
                        color: #e20000;
                    }
                }

                .det-p {
                    height: 32px;
                    margin: 0px 9px;
                    overflow: hidden;
                    border-bottom: 1px solid #f7f7f7;

                    a {
                        color: #666;
                        font-size: 13px;
                        line-height: 32px;
                        margin: 0 12px;

                        &:hover {
                            text-decoration: underline;
                        }
                    }

                    &:nth-last-of-type(1) {
                        border-bottom: none;
                    }
                }


            }


        }
    }

    // 右边
    .detail-right {
        float: left;
        margin-left: 10px;
        position: relative;

        .right-r {
            position: relative;
            float: left;
            margin-left: 15px;
            overflow: hidden;
        }
        .r-top{
            overflow: hidden;
        }

        .ori {
            width: 350px;
            height: 350px;
            border: 1px solid #E8E8E8;
            position: relative;
            margin-bottom: 20px;
            float: left;

            img {
                width: 350px;
                height: 350px;
            }

            .fil {
                width: 175px;
                height: 175px;
                background-color: rgba($color: #000000, $alpha: 0.3);
                position: absolute;
                top: 0px;
                display: none;
            }
        }

        .large {
            width: 350px;
            height: 350px;
            border: 1px solid #E8E8E8;
            position: absolute;
            display: none;
            top: 0px;
            left: 362px;
            overflow: hidden;
            z-index: 10;

            img {
                width: 700px;
                height: 700px;
                position: relative;
            }
        }

        .shopmod {
            float: left;

            .bname {
                position: relative;
                padding-bottom: 12px;
                margin-bottom: 12px;
                border-bottom: 1px dotted #e7e7e7;

                h1 {
                    max-height: 48px;
                    line-height: 24px;
                    margin-bottom: 6px;
                    font-size: 18px;
                    font-weight: bold;
                    color: #000;
                    overflow: hidden;
                }

                h3 {
                    height: 48px;
                    line-height: 24px;
                    font-size: 15px;
                    color: red;
                    overflow: hidden;

                    &:nth-last-of-type(1) {
                        height: 24px;
                    }
                }
            }

            .battr {
                padding-bottom: 12px;
                margin-bottom: 12px;
                border-bottom: 1px dotted #e7e7e7;
                line-height: 28px;

                a {
                    color: #1a66b3;

                    &:hover {
                        color: #dc0014;
                        text-decoration: underline;
                    }
                }

                dt {
                    width: 76px;
                    float: left;
                    color: #666;
                }

                .price-o {
                    dd {
                        b {
                            font-size: 13px;
                            text-decoration: line-through;
                            font-weight: normal;
                        }
                    }
                }

                .price-n {
                    dd {
                        b {
                            font-size: 24px;
                            font-weight: bold;
                            color: #e4393d;
                        }
                    }
                }

                .sale {
                    dd {
                        margin-left: 76px;

                        span {
                            font-weight: bold;
                            color: #e4393d;
                        }
                    }
                }
            }
        }

        .addtocar {
            padding-bottom: 12px;
            margin-bottom: 12px;
            line-height: 28px;

            .buy-num {
                dt {
                    width: 76px;
                    float: left;
                }

                dd {
                    color: #666;

                    a {
                        display: inline-block;
                        width: 13px;
                        height: 13px;
                        border: 1px solid #d5d5d5;
                        line-height: 13px;
                        text-align: center;
                        text-decoration: none;
                        vertical-align: middle;

                        &:hover {
                            color: #dc0014;
                        }
                    }

                    input {
                        width: 34px;
                        height: 20px;
                        line-height: 20px;
                        margin: 0 3px;
                        text-align: center;
                        border: 1px solid #a0a0a0;
                        vertical-align: middle;
                        color: #343434;
                    }
                }
            }

            .buy-active{
                a{
                    display: inline-block;
                    width: 172px;
                    height: 37px;
                    margin-right: 19px;
                    margin-top: 15px;
                    color: #fff;
                    font-size: 0;
                    vertical-align: middle;
                    background: url(../imgs/common-btn.png) no-repeat center;
                    background-position: 0px -38px;
                }
            }
            .buy-service{
                position: relative;
                dt{
                    width: 76px;
                    color: #666;
                    float: left;

                }
                dd{
                    color: #666;
                    &:nth-of-type(2){
                        padding: 10px 0;
                        display: block;
                        color: #ddd;
                        margin-left: 64px;
                        .character{
                            a{
                                margin: 0 11px;
                                color: #666;
                                &:hover{
                                    text-decoration: underline;
                                }
                            }
                        }
                    }

                }
            }
        }

        .intro{
            .intro-head{
                .intro-tab{
                    height: 26px;
                    border: 1px solid #f3f3f3;
                    border-bottom: 1px solid #cfcfcf;
                    overflow: visible;
                    text-align: center;
                    a{
                        text-align: center;
                        color: #666;
                    }
                    .tab-intro{
                        float: left;
                        width: 121px;
                        height: 26px;
                        line-height: 26px;
                        margin-left: -1px;
                        font-size: 14px;
                        font-weight: bold;
                    }
                    .tab-say{
                        float: left;
                        width: 121px;
                        height: 26px;
                        line-height: 26px;
                        margin-left: -1px;
                        font-size: 14px;
                    }
                    .act{
                        color: #000;
                        height: 27px;
                        border-top: 3px solid #e20000;
                        border-left: 1px solid #e8e8e8;
                        border-right: 1px solid #e8e8e8;
                        background: #f9f9f9;
                        margin-top: -3px;
                    }
                }
                .intro-b{
                    height: 28px;
                    border: 1px solid #e8e8e8;
                    border-top: 0 none;
                    background: #fff;
                    position: relative;
                    .intro-b1{
                        span{
                            display: inline-block;
                            width: 62px;
                            height: 28px;
                            line-height: 28px;
                            padding-right: 2px;
                            padding-left: 5px;
                            margin-left: 32px;
                            background: url(../imgs/common-bg.png)  no-repeat;
                            background-position: -295px -83px;
                            color: #fff;
                        }
                        a{
                            background: url(../imgs/repeat-bg.png)  no-repeat;
                            display: inline-block;
                            background-position: 2px -171px;
                            height: 28px;
                            line-height: 28px;
                            padding-left: 22px;
                            padding-right: 9px;
                            font-size: 12px;
                            color: #666;
                            &:hover{
                                color: #dc0014;
                                background-position: 2px -229px;
                            }
                        }
                    }
                }
            }
            .intro-cont{
                ul{
                    border: 1px solid #e8e8e8;
                    border-top: 0 none;
                    background: #f9f9f9;
                    padding: 18px 30px;
                    width: 890px;
                    overflow: hidden;
                    a{
                        color:#1D66B2;
                    }
                    li{
                        float: left;
                        width: 33.3%;
                        line-height: 24px;
                        color: #666;
                    }
                }
            }
        }
    }
}

// 主要内容

// 回到顶部
.totop {
    position: fixed;
    top: 80%;
    right: 15%;
    display: none;
}

// 回到顶部